package cn.sumpu.app.guoguojie.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import cn.sumpu.app.guoguojie.util.Common;

public class Forum implements Serializable {

	private static final long serialVersionUID = 3039300331462826116L;

	private String identifier;
	private String name;
	private String creator;
	private String introduction;
	private String imageServer;
	private String logo;
	private Date gmtCreated;
	private Date gmtModified;
	private String backgroundImage;
	private List<Doing> doingList;
	private Integer doingCount;
	private List<Member> memberList;
	private List<DoingClass> doingClassList;
	private List<ForumHotDoing> forumHotDoingList;
	
	

	public String getCutIntroduction() {
		return Common.cutStr(introduction, 49, "...");
	}

	public List<ForumHotDoing> getForumHotDoingList() {
		return forumHotDoingList;
	}

	public void setForumHotDoingList(List<ForumHotDoing> forumHotDoingList) {
		this.forumHotDoingList = forumHotDoingList;
	}

	public List<DoingClass> getDoingClassList() {
		return doingClassList;
	}

	public void setDoingClassList(List<DoingClass> doingClassList) {
		this.doingClassList = doingClassList;
	}

	public List<Member> getMemberList() {
		return memberList;
	}

	public void setMemberList(List<Member> memberList) {
		this.memberList = memberList;
	}

	public Integer getDoingCount() {
		return doingCount;
	}

	public void setDoingCount(Integer doingCount) {
		this.doingCount = doingCount;
	}

	public List<Doing> getDoingList() {
		return doingList;
	}

	public void setDoingList(List<Doing> doingList) {
		this.doingList = doingList;
	}

	public String getIdentifier() {
		return identifier;
	}

	public void setIdentifier(String identifier) {
		this.identifier = identifier;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public String getIntroduction() {
		return introduction;
	}

	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}

	public String getImageServer() {
		return imageServer;
	}

	public void setImageServer(String imageServer) {
		this.imageServer = imageServer;
	}

	public String getLogo() {
		return logo;
	}

	public void setLogo(String logo) {
		this.logo = logo;
	}

	public Date getGmtCreated() {
		return gmtCreated;
	}

	public void setGmtCreated(Date gmtCreated) {
		this.gmtCreated = gmtCreated;
	}

	public Date getGmtModified() {
		return gmtModified;
	}

	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}

	public String getBackgroundImage() {
		return backgroundImage;
	}

	public void setBackgroundImage(String backgroundImage) {
		this.backgroundImage = backgroundImage;
	}

	public String getCutIntrodunction(){
		return Common.cutStr(introduction, 20, "...");
	}
	
	

}
